import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.lang.module.FindException;

public class Test {
    public static void main(String[] args) {
        Login login = new Login();
        try{
            login.login("adim","123456");
        }catch(UserNameErrorException e){
            e.printStackTrace();
        }catch(PasswordEroorException e){
            e.printStackTrace();
        }
        System.out.println("程序继续执行");
    }



    public static void main2(String[] args) {
        Login login = new Login();
        login.login("admin1","123456");
    }



    public static void fuc() throws FileNotFoundException{
        FileInputStream fileInputStream = new FileInputStream("路径");
    }
    public static void main1(String[] args) throws FileNotFoundException{
        fuc();
    }
}
